<!DOCTYPE html>
<html>
<head>
    <script type="text/javascript">_locale = "en";</script>
    <script type="text/javascript">
        var cmp=top.cmp;
        var clientType = "iphone";
        var version = "6.0.0";
        var m_documentType = "1";
        var serverPath="";
        var form={};
        var myscroll;
        var formData;
    </script>

    <script type="text/javascript">canSignatuer = true;</script>
    <script type='text/javascript'>var style = '1';</script>
    <style>
        input[type="text"]{
            line-height:normal;
        }
        .browse_class span {
            color: blue;
        }
        .xdTableHeader TD {
            min-height: 10px;
        }
        .radio_com {
            margin-right: 0px;
        }
        .xdTextBox {
            BORDER-BOTTOM: #dcdcdc 1pt solid;
            min-height: 12px;
            TEXT-ALIGN: left;
            BORDER-LEFT: #dcdcdc 1pt solid;
            BACKGROUND-COLOR: window;
            DISPLAY: inline-block;
            WHITE-SPACE: nowrap;
            COLOR: windowtext;
            OVERFLOW: hidden;
            BORDER-TOP: #dcdcdc 1pt solid;
            BORDER-RIGHT: #dcdcdc 1pt solid;
            padding-right:1px!important;
        }
        .xdRichTextBox {
            font-size: 12px;
            BORDER-BOTTOM: #dcdcdc 1pt solid;
            TEXT-ALIGN: left;
            BORDER-LEFT: #dcdcdc 1pt solid;
            BACKGROUND-COLOR: window;
            FONT-STYLE: normal;
            min-height: 12px;
            display: inline-block;
            WORD-WRAP: break-word;
            COLOR: windowtext;
            BORDER-TOP: #dcdcdc 1pt solid;
            BORDER-RIGHT: #dcdcdc 1pt solid;
            TEXT-DECORATION: none;
        }

        span.xdRichTextBox{
            VERTICAL-ALIGN: bottom !important;
        }
        span.design_class{
            vertical-align: bottom;
        }
        span.edit_class{
            vertical-align: bottom;
        }
        .mainbodyDiv div,.mainbodyDiv input,.mainbodyDiv textarea,.mainbodyDiv p,.mainbodyDiv th,.mainbodyDiv td,.mainbodyDiv ul,.mainbodyDiv li{
            font-family: inherit;
            layout-grid-mode : none;
        }
        span.biggerThanMax{
            background-color:yellow;
        }
        .insert_pic_16{
            margin-top:2px;
        }
        span.browse_class>span{
            min-height:14px;
            overflow-y:hidden;
            white-space:pre-wrap;
        }

          .font_size12{
              font-size:12px;
          }
        .padding_0{
            padding:0;
        }
        div.content_text{
            padding-top:15px;
        }
        #resultTableShow td{
            border: 1px solid #e3e3e3;
        }

        @media screen and (-webkit-min-device-pixel-ratio:0){.content_text>ol{padding-left:34px;} .content_text>ol>li{padding-left: 6px;}}

    </style>
</head>
<body style="overflow:hidden;margin: 0;">
<div id="content1" style="margin-left: 2px;margin-top:2px;overflow:hidden;">
    <script></script>
    <input type="hidden" id="_currentDiv" value="0"><script type="text/javascript">var flowForm=true; var pendingFlag = "true"; var m_contentType = "1";var m1FileDownloadURL = "http://10.5.6.208/seeyon/servlet/SeeyonMobileBrokerServlet;jsessionid=8CD1DC08B078A0DE223A1005B10F5E0C?serviceProcess=A6A8_File&method=download&";</script>

    <!--******************************正文开始-->
    <div id="wrapper"  style="overflow:hidden;background: #FFFFFF;">
        <div id="mainbodyHtmlDiv_0" style="display: inline-block;" >

        </div>
        <div id="mainbodyDataDiv_0" style="display: none">
            <input type="hidden" id="id" name="id" value='-1' />
            <input type="hidden" id="createId" name="createId" value='0' />
            <input type="hidden" id="createDate" name="createDate" value='' />
            <input type="hidden" id="modifyId" name="modifyId" value='' />
            <input type="hidden" id="modifyDate" name="modifyDate" value='' />
            <input type="hidden" id="moduleType" name="moduleType" value='1' />
            <input type="hidden" id="moduleId" name="moduleId" value='-1' />
            <input type="hidden" id="contentType" name="contentType" value='20' />
            <input type="hidden" id="moduleTemplateId" name="moduleTemplateId" value='' />
            <input type="hidden" id="contentTemplateId" name="contentTemplateId" value='' />
            <input type="hidden" id="sort" name="sort" value='1' />
            <input type="hidden" id="title" name="title" value='位置定位' />
            <input type="hidden" id="content" name="content" value='' />
            <input type="hidden" id="rightId" name="rightId" value='' />
            <input type="hidden" id="editable" name="editable" value='true' />
            <input type="hidden" id="status" name="status" value='STATUS_RESPONSE_VIEW' />
            <input type="hidden" id="viewState" name="viewState" value='1' />
            <input type="hidden" id="contentDataId" name="contentDataId" value='' />
        </div>

    </div>
</div>
<script type="text/javascript">
    proxyServerAddr = "";
    var summaryID = "";
    function setContentSize() {
        var parentWindow = parent.window;
        var contentfrmW = parentWindow.document.getElementById("contentfrm").parent().offsetWidth;
        var contentfrmH = parentWindow.document.getElementById("contentfrm").parent().offsetHeight;
        parentWindow.document.getElementById("contentfrm").style.height = document.getElementById("wrapper").style.height = (contentfrmH - 10) + "px";
        parentWindow.document.getElementById("contentfrm").style.width = document.getElementById("wrapper").style.width = contentfrmW+ "px";
        if (myscroll && contentfrmH != parentWindow.document.getElementById("contentfrm").offsetHeight) {
            myscroll.refresh();

        }
    }
    function contentScroll() {
        setContentSize();
        createScroll();
        top.cmp.dialog.loading(false);
    }
    function createScroll(){
        isImgLoad(function() { //图片加载完成后才缩放
            var percent = document.getElementById("wrapper").offsetWidth / document.getElementById("mainbodyHtmlDiv_0").offsetWidth;
            var scrollEndActionTime = 0, scrollYMax = false;
            myscroll = new IScroll("#wrapper", {
                zoom: true, scrollX: true,
                scrollY: true,
                mouseWheel: true,
                zoomStart: 1,
                zoomMin: percent,
                preventDefaultException: {tagName: /^(INPUT|SPAN|IMG|A|TEXTAREA|SELECT)$/},
                zoomMax: 1,
                mouseWheel: true,
                wheelAction: 'zoom'
            });
            myscroll.on('scrollEnd', function () {
                if (typeof onScrollBottom=="function") {
                    if (scrollYMax) {
                        if (scrollEndActionTime > 0) {
                            onScrollBottom();
                            scrollEndActionTime = 0;
                        } else {
                            scrollEndActionTime++;
                        }
                    }
                }
            });

            myscroll.on("scroll", function (e) {
                if (typeof onScroll=="function") {
                    onScroll(-myscroll.y, myscroll.directionY);
                    if ((myscroll.directionY == -1 && -myscroll.y < 10) || (myscroll.directionY == 1 && -myscroll.y > 10)) {
                        setContentSize();
                    }
                }
                if (myscroll.y <= (myscroll.maxScrollY - 10)) {
                    scrollYMax = true;
                } else {
                    scrollYMax = false;
                }
            });
            myscroll.zoom(percent);

            var tsY, tsT, wrapperMove = false;
            document.getElementById("wrapper").addEventListener("touchstart", function (e) {
                if (e.targetTouches.length == 1) {
                    tsY = e.touches[0].pageY;
                    tsT = e.timeStamp;
                    wrapperMove = true;
                } else {
                    wrapperMove = false;
                }
            });
            document.getElementById("wrapper").addEventListener("touchend", function (e) {
                var teY = e.changedTouches[0].pageY;
                var teT = e.timeStamp;
                if (wrapperMove == true) {
                    if ((teY - tsY) > 20 && (teT - tsT) > 100 && myscroll.y == 0) {
                        if (typeof onScroll=="function") {
                            onScroll(-5, -1);
                            setContentSize();
                        }
                    }
                }
            });
        });
    }

    //判断图片加载完成
    var times=0;
    var t_img,isLoad;
    function isImgLoad(callback){
        $('img').each(function(){
            if(this.height === 0){
                isLoad = false;
                return false;
            }
        });
        if(isLoad || times>20000){
            clearTimeout(t_img);
            callback();
        }else{
            isLoad = true;
            times+=500;
            t_img = setTimeout(function(){
                isImgLoad(callback);
            },500);
        }
    }
</script>
<script type="text/javascript">var ajaxUrl = "http://10.5.6.208/seeyon/servlet/SeeyonMobileBrokerServlet;jsessionid=8CD1DC08B078A0DE223A1005B10F5E0C?serviceProcess=A6A8_Common&ctpJSONPCallback=?&method=ajaxAction&managerName=";var mFormAjaxManager={
    jsonGateway:ajaxUrl+"mFormAjaxManager",addOrDelDataSubBean:function(){return this.c(arguments,"addOrDelDataSubBean");},calculate:function(){return this.c(arguments,"calculate");},checkTemplateCanUse:function(){return this.c(arguments,"checkTemplateCanUse");},dealFormRelation:function(){return this.c(arguments,"dealFormRelation");},dealLbsFieldRelation:function(){return this.c(arguments,"dealLbsFieldRelation");},dealMemberFieldRelation:function(){return this.c(arguments,"dealMemberFieldRelation");},dealMultiEnumRelation:function(){return this.c(arguments,"dealMultiEnumRelation");},dealProjectFieldRelation:function(){return this.c(arguments,"dealProjectFieldRelation");},decodeBarCode:function(){return this.c(arguments,"decodeBarCode");},deleteBarCode:function(){return this.c(arguments,"deleteBarCode");},generageSubData:function(){return this.c(arguments,"generageSubData");},getBarCodeAttachment:function(){return this.c(arguments,"getBarCodeAttachment");},getBarcodeParams:function(){return this.c(arguments,"getBarcodeParams");},getFormatDateValStr:function(){return this.c(arguments,"getFormatDateValStr");},getMArchiveByIDForForm:function(){return this.c(arguments,"getMArchiveByIDForForm");},getMemberIsignaturKey:function(){return this.c(arguments,"getMemberIsignaturKey");},getSignatureList:function(){return this.c(arguments,"getSignatureList");},getSignatureListForForm:function(){return this.c(arguments,"getSignatureListForForm");},preSubmitFormData:function(){return this.c(arguments,"preSubmitFormData");},removeSessionMasterData:function(){return this.c(arguments,"removeSessionMasterData");},showFormRelationRecord:function(){return this.c(arguments,"showFormRelationRecord");},showInscribeSignetPic:function(){return this.c(arguments,"showInscribeSignetPic");},showMore:function(){return this.c(arguments,"showMore");}};
;</script>
</body>
</html>
